<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>礼品券管理</title>
<link href="${base }/sysadmin/css/bootstrap.min.css?v=3.4.0"
	rel="stylesheet">
<link href="${base }/sysadmin/font-awesome/css/font-awesome.css?v=4.3.0"
	rel="stylesheet">
<link href="${base }/sysadmin/css/animate.css" rel="stylesheet">
<link href="${base }/sysadmin/css/style.css?v=2.2.0" rel="stylesheet">
</head>
<body>
	<div id="wrapper">
		<%@ include file="../include/left.jsp"%>
		<div id="page-wrapper" class="gray-bg dashbard-1">
			<%@ include file="../include/head.jsp"%>
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-10">
					<h2>礼品券管理</h2>
				</div>
			</div>
			<div class="wrapper wrapper-content animated fadeInRight">

				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-title">
								<h5>礼品券管理</h5>
							</div>
							<div class="ibox-content">
								<form class="form-horizontal m-t" method="post"
									action="${base }/admin/proclass.do?m=save" id="commentForm">
									<input type="hidden" value="${item.id }" name="id" />
									<div class="form-group">
										<label class="col-sm-3 control-label">礼品券标题：</label>
										<div class="col-sm-8">
											<input id="cname" name="order_id" placeholder="礼品券标题"
												type="text" value="${item.ticket_title }"
												class="form-control" required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">副标题：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">券号前缀：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">券号起始数：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">券号截止数：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">开始时间：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">截止时间：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">库存数量：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">券封面图：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">券详情：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入副标题"
												required="" aria-required="true">
										</div>
									</div>

									<div class="form-group">
										<div class="col-sm-4 col-sm-offset-3">
											<button class="btn btn-primary" type="submit">提交保存</button>
										</div>
									</div>
								</form>
							</div>
						</div>

					</div>
				</div>

			</div>
			<%@ include file="../include/bottom.jsp"%>

		</div>
	</div>


	<script src="${base }/sysadmin/js/jquery-2.1.1.min.js"></script>
	<script src="${base }/sysadmin/js/bootstrap.min.js?v=3.4.0"></script>
	<script src="${base }/sysadmin/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script
		src="${base }/sysadmin/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="${base }/sysadmin/js/hplus.js?v=2.2.0"></script>
	<script src="${base }/sysadmin/js/plugins/pace/pace.min.js"></script>
	<script src="${base }/sysadmin/js/plugins/validate/jquery.validate.min.js"></script>
	<script src="${base }/sysadmin/js/plugins/validate/messages_zh.min.js"></script>
	<script>
		//以下为修改jQuery Validation插件兼容Bootstrap的方法，没有直接写在插件中是为了便于插件升级
		$.validator.setDefaults({
			highlight : function(element) {
				$(element).closest('.form-group').removeClass('has-success')
						.addClass('has-error');
			},
			success : function(element) {
				element.closest('.form-group').removeClass('has-error')
						.addClass('has-success');
			},
			errorElement : "span",
			errorClass : "help-block m-b-none",
			validClass : "help-block m-b-none"

		});

		//以下为官方示例
		$().ready(function() {
			$("#commentForm").validate();
		});
	</script>

</body>

</html>
